﻿using System;
using System.ServiceModel;

namespace Clancy.Communication.Interfaces
{
    [ServiceContract(CallbackContract = typeof(ILiveStreamInterfaceCallbackService))]
    public interface ILiveStreamInterface
    {
        [OperationContract]
        void Close(Guid surveilanceId);

        [OperationContract]
        void CloseAll();

        [OperationContract]
        bool Open(Guid surveilanceId);

        [OperationContract]
        bool SubsribeForRecordings();

        [OperationContract]
        bool UnsubsribeForRecordings();
    }
}